]> dgit.raspbian.org Git - gnome-shell.git/commit
windowManager: Ignore error without systemd
authorOlivier Fourdan <ofourdan@redhat.com>
Tue, 18 May 2021 12:04:05 +0000 (14:04 +0200)
committerMarge Bot <marge-bot@gnome.org>
Tue, 18 May 2021 14:31:28 +0000 (14:31 +0000)
commitd9239e2cee27cad582544e769ad794ca571f35fb
tree26eac5c1f9c5b52368e6e1b2c9c6eb949d1a16ca
parent08fb067d2428e10cf0f7f6ee4848e07879d821d1
windowManager: Ignore error without systemd

On systems/setups not using systemd, a failure to start gsd-xsettings
with NOT_SUPPORTED does not denote a failure to start Xwayland, just
that we're not using systemd.

In that case, we should just ignore the error, otherwise it will prevent
Xwayland to start on such systems/setups without systemd.

Thanks to Rose Kunkel (@rosekunkel) for spotting the issue/suggesting
the fix.

Fixes: 019229c40e - windowManager: Return failure to start X11 services
Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/4284
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1850>
js/ui/windowManager.js